package cn.tqfeiyang.smartadmin.commons.pagination;


import java.lang.annotation.*;

@Target({ElementType.TYPE})
@Retention(RetentionPolicy.RUNTIME)
@Inherited
public @interface QueryTable {

    /**
     * 默认排序栏位
     */
    String orderBy() default "";

    /**
     * 升序 或 降序，默认是 升序
     */
    OrderDirection direction() default OrderDirection.asc;
}